# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Niklas <dev@n1klas.net>

pkgname=libmicrodns
pkgver=0.0.10
pkgrel=1
pkgdesc='Minimal mDNS resolver library'
url='https://github.com/videolabs/libmicrodns'
arch=('x86_64')
license=('LGPL2.1')
depends=('glibc')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/videolabs/libmicrodns/archive/${pkgver}.tar.gz)
sha512sums=('003cacb71d3aa8015a233e1ac4b9383ca90ddd5a08983097d082d83dc75f0a7a175646f713bcf4d3ff3f682ac8c4b444ed81ee316549f041a96829a6be6395a4')

prepare() {
  cd ${pkgname}-${pkgver}
  autoreconf -fiv
}

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}

# vim: ts=2 sw=2 et:
